﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Site.ascx.cs" Inherits="Hxsoft.AppV1.Admin.SiteManage.Controls.Site" %>

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="FormTable">
	<tr>
		<td class="FieldBox">站点名称</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlSiteName" runat="server"></asp:TextBox>
			<asp:RequiredFieldValidator ID="RFVCtrlSiteName" runat="server" ControlToValidate="CtrlSiteName" ErrorMessage="字段 [SiteName] 不允许为空。">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">地区代码</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlAreaCode" runat="server"></asp:TextBox>
			<span class="FieldExplain">[数字格式]</span>
			<asp:RegularExpressionValidator ID="REVCtrlAreaCode" runat="server" ControlToValidate="CtrlAreaCode" ValidationExpression="<%# Hxsoft.RegexExtensions.Pattern_Numerical %>" Display="None" ErrorMessage="输入字段 [AreaCode] 的数据格式不符。">输入字段 [AreaCode] 的数据格式不符。</asp:RegularExpressionValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">站点域名</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlDomain" runat="server" Columns="50" Rows="3" TextMode="MultiLine"></asp:TextBox>
			<span class="FieldExplain">[多个域名用回车换行符分隔]</span>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">备注</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlMemo" runat="server" CssClass="FullWidth" Rows="5" TextMode="MultiLine"></asp:TextBox>
		</td>
	</tr>
</table>